projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe0b2d
)
(math-use-emacs-fn): Make sure that the lisp number is in decimal.
author
Jay Belanger
<jay.p.belanger@gmail.com>
Sat, 21 Feb 2009 19:18:20 +0000
(19:18 +0000)
committer
Jay Belanger
<jay.p.belanger@gmail.com>
Sat, 21 Feb 2009 19:18:20 +0000
(19:18 +0000)
lisp/calc/calc-math.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc-math.el
b/lisp/calc/calc-math.el
index 64c5465da3ce2fdc730d7c1e322ca8cb911c6e38..c8e8cc1f052ea31a81ab67c4c0264c35c59af2ab 100644
(file)
--- a/
lisp/calc/calc-math.el
+++ b/
lisp/calc/calc-math.el
@@
-105,7
+105,9
@@
If this can't be done, return NIL."
(math-read-number
(number-to-string
(funcall fn
- (string-to-number (math-format-number (math-float x))))))
+ (string-to-number
+ (let ((calc-number-radix 10))
+ (math-format-number (math-float x)))))))
(error nil))))))
(defun calc-sqrt (arg)